package com.gametheoryserver.gui.sum.action;

import com.gametheoryserver.gui.sum.PlaySumGame;
import com.gametheoryserver.gui.sum.state.PlaySumGameStateHolder;
import com.vaadin.ui.Button.ClickEvent;

/**
 * @author Tomas Barak
 * 
 */
public class PlayerOneAction extends AbstractSumGameAction {

	public PlayerOneAction(PlaySumGame playSum) {
		super(playSum);
	}

	@Override
	public void buttonClick(ClickEvent event) {
		PlaySumGameStateHolder.setState(PlaySumGameStateHolder.PLAYER_ONE_STATE,
				super.playSum);
	}

}
